package com.returnsoft.resource.service;

import java.util.List;

import javax.ejb.Remote;

import com.returnsoft.resource.dto.AreaDto;
import com.returnsoft.resource.dto.TrainerDto;
import com.returnsoft.resource.exception.RecruitmentException;

@Remote
public interface TrainerInterface {
	
	
	public TrainerDto findByUser(Integer userId)
			throws RecruitmentException;
	
	public TrainerDto findById(Integer trainerId)
			throws RecruitmentException;
	
	public TrainerDto add(TrainerDto trainerDto) throws RecruitmentException;
	
	public List<TrainerDto> findList(List<Integer> areasId, Boolean areaNull,String name,String documentNumber) throws RecruitmentException;
	
	public List<TrainerDto> findAll() throws RecruitmentException;
	
	public List<AreaDto> findAreas(Integer trainerId)
			throws RecruitmentException;

}
